package cn.buk.api.szkj.dto.eterm.response;

import cn.buk.api.szkj.dto.eterm.PnrInfo;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * QN返回结果
 */
public class QnResponse extends BaseResponse {

  @JsonProperty(value = "data")
  private PnrInfo pnrInfo;

  /**
   * 剩余信息数
   */
  private int quantity;

  @JsonProperty(value = "pnr")
  private String pnrNo;

  @JsonProperty(value = "originalPnrInfo")
  private String pnrDetail;

  public PnrInfo getPnrInfo() {
    return pnrInfo;
  }

  public void setPnrInfo(PnrInfo pnrInfo) {
    this.pnrInfo = pnrInfo;
  }

  public int getQuantity() {
    return quantity;
  }

  public void setQuantity(int quantity) {
    this.quantity = quantity;
  }

  public String getPnrNo() {
    return pnrNo;
  }

  public void setPnrNo(String pnrNo) {
    this.pnrNo = pnrNo;
  }

  public String getPnrDetail() {
    return pnrDetail;
  }

  public void setPnrDetail(String pnrDetail) {
    this.pnrDetail = pnrDetail;
  }
}
